package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjWorkSlaConditionRemindEmp;
import com.zb.extend.WorkSlaConditionRemindEmpExtend;

import java.util.List;

/**
 * <p>
 * 工单SLA条件提醒人员表 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-02-04
 */
public interface ZjWorkSlaConditionRemindEmpService extends IService<ZjWorkSlaConditionRemindEmp> {

    /**
     * 根据工单策略SLA ID删除人员
     * @param workSlaId 工单SLA ID
     */
    void deleteByWorkSlaId(Long workSlaId);

    /**
     * 根据工单策略SLA ID删除人员
     * @param workSlaIds 工单SLA ID
     */
    void deleteByWorkSlaIds(List<Long> workSlaIds);

    /**
     * 根据工单策略SLA ID获取人员
     * @param workSlaId 工单策略SLA ID
     * @return
     */
    List<ZjWorkSlaConditionRemindEmp> getByWorkSlaId(Long workSlaId);

    /**
     * 根据工单策略SLA ID获取人员
     * @param workSlaIds 工单策略SLA ID
     * @return
     */
    List<ZjWorkSlaConditionRemindEmp> getByWorkSlaIds(List<Long> workSlaIds);

    /**
     * 根据工单策略SLA ID获取人员信息
     * @param workSlaId
     * @return
     */
    List<WorkSlaConditionRemindEmpExtend> getEmpByWorkSlaId(Long workSlaId);

    /**
     * 根据工单策略条件ID获取人员信息
     * @param workSlaConditionIds 工单策略条件ID
     * @return
     */
    List<WorkSlaConditionRemindEmpExtend> getByWorkSlaConditionIds(List<Long> workSlaConditionIds);
}
